-
Notifications
You must be signed in to change notification settings - Fork 65
Update customisation options to match the vscode extension #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I am not able to get this working locally, so probably not a good idea to merge yet. |
BTW you want to use the schema produced by |
And it struck me I need to ensure it actually gets used too. Where is the best place to document this update process? |
I believe
Start a CONTRIBUTING.md? |
2f5213e
to
eee4ed7
Compare
Take two. Turns out if you run the update script with |
Add add a description of how to do it.
eee4ed7
to
29ab21a
Compare
I find it now works, in that it starts up correctly, and the config settings are sent. But for me completions do not work. [Trace - 12:38:28 pm] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {
"haskell": {
"formattingProvider": "fourmolu",
"checkProject": true,
"maxCompletions": 40,
"plugin": {
"importLens": {
"codeActionsOn": false,
"codeLensOn": false
},
"hlint": {
"codeActionsOn": true,
"diagnosticsOn": true
},
"eval": {
"globalOn": true
},
"moduleName": {
"globalOn": true
},
"splice": {
"globalOn": true
},
"haddockComments": {
"globalOn": true
},
"class": {
"globalOn": true
},
"retrie": {
"globalOn": true
},
"stan": {
"globalOn": true
},
"tactics": {
"globalOn": true,
"config": {
"auto_gas": 4,
"max_use_ctor_actions": 5,
"timeout_duration": 2,
"proofstate_styling": true
}
},
"pragmas": {
"codeActionsOn": true,
"completionsOn": true
},
"ghcide-completions": {
"config": {
"autoExtendOn": true,
"snippetsOn": true
}
},
"ghcide-type-lenses": {
"globalOn": false,
"config": {
"mode": "diagnostics"
}
},
"refineImports": {
"globalOn": false
},
"cabal": {
"codeActionsOn": true,
"completionOn": true
},
"overloaded-record-dot": {
"globalOn": true
},
"pragmas-completion": {
"globalOn": true
},
"pragmas-disable": {
"globalOn": true
},
"pragmas-suggest": {
"globalOn": true
}
}
}
}
}
|
@@ -0,0 +1,33 @@ | |||
# Contributing to lsp-haskell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff, thanks
@@ -47,13 +47,15 @@ | |||
|
|||
(defcustom-lsp lsp-haskell-formatting-provider |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could migrate these to lsp-defcustom
while we're at it. Not sure if it's just a rename or what
We should debug what's going on with cabal files. Is the mode definitely activating? Do you see |
In particular, add the ability to turn on the new cabal plugin and completion for it.